package com.lanou.service;

import com.lanou.bean.Account;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * Created by dllo on 18/3/16.
 */
public interface AccountService {
    List<Account> getAllAccountInfo();

    void addAccount(Account account);

    void deleteAccount(int id);

    void updateAccount(int id, String status);

    Account selectAccountById(@Param("id") int id);

    void updateAccountByid(int id, String name, String tele, String cardno,
                           String email, String addr, String zipcode,
                           String qq, String gender, String occupation);

    Account selectByCardId(@Param("cardno") String cardno);

    void updatePauseDate(String pause, int id);

    void updateDelPauseDate(String pause, int id);

    void updateCloseDate(String close, int id);

}
